package com.yubest.demo1.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author hweiyu
 * @Description
 * @Date 2021/7/14 16:47
 */
@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(String msg) {
        return "Hello, " + msg + " !";
    }

    @GetMapping("/home")
    public String home() {
        return "feign-service";
    }
}
